package com.waimai1.waimai.entity;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (CouponPerson)表实体类
 *
 * @author makejava
 * @since 2023-11-25 19:05:43
 */
@SuppressWarnings("serial")
@Data
public class CouponPerson extends Model<CouponPerson> {
    @ExcelProperty("id")

    private Integer id;
    @ExcelProperty("代金券couponid")

    private Integer acid;
    @ExcelProperty("代金券couponid")
    private String couponId;
    @ExcelProperty("代金券批次id")
    private String wexinNo;
    @ExcelProperty("openid")
    private String openid;
    @ExcelProperty("电话")
    private String phone;
    @ExcelProperty("状态")
    private String status;
    //优惠卷领取表

    @ExcelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @ExcelProperty("领取时间")
    private Date getTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getWexinNo() {
        return wexinNo;
    }

    public void setWexinNo(String wexinNo) {
        this.wexinNo = wexinNo;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getGetTime() {
        return getTime;
    }

    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

